package com.ktgj.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 活动码续码记录			
对象 activitycodebatch_continuation
 * 
 * @author ruoyi
 * @date 2021-09-03
 */
public class ActivitycodebatchContinuation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long recordId;

    /** ActivityCodeBatchID */
    @Excel(name = "ActivityCodeBatchID")
    private Long activityCodeBatchId;

    /** 续码数量 */
    @Excel(name = "续码数量")
    private Long generateNumber;

    /** 有效开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 有效结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long opemployeeId;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setActivityCodeBatchId(Long activityCodeBatchId) 
    {
        this.activityCodeBatchId = activityCodeBatchId;
    }

    public Long getActivityCodeBatchId() 
    {
        return activityCodeBatchId;
    }
    public void setGenerateNumber(Long generateNumber) 
    {
        this.generateNumber = generateNumber;
    }

    public Long getGenerateNumber() 
    {
        return generateNumber;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setOpemployeeId(Long opemployeeId) 
    {
        this.opemployeeId = opemployeeId;
    }

    public Long getOpemployeeId() 
    {
        return opemployeeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("activityCodeBatchId", getActivityCodeBatchId())
            .append("generateNumber", getGenerateNumber())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("opemployeeId", getOpemployeeId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
